package drawing;

/**
 * Class which contains window mode settings
 * @author Swiftpengu
 *
 */
public class WindowPreferences {
	/** preferred window width in pixels */
	private int preferredwidth = 640;
	
	/** preferred window height in pixels */
	private int preferredheight = 480;
	
	/** preferred refresh rate in Hertz */
	private int preferredrefreshrate = 60;
	
	/** wether we prefer being in fullscreen mode */
	private boolean preferFullscreen = true;
	
	/** Set a setting to this value to let it be the maximum supported value the monitor supports*/
	public static final int MAXIMUM_SUPPORTED = -2;
	
	/** Set a setting to this value to let it be the minimum supported value the monitor supports*/
	public static final int MINIMUM_SUPPORTED = -1;
	
	public int getPreferredwidth() {
		return preferredwidth;
	}
	
	public void setPreferredwidth(int preferredwidth) {
		this.preferredwidth = preferredwidth;
	}
	
	public int getPreferredheight() {
		return preferredheight;
	}
	
	public void setPreferredheight(int preferredheight) {
		this.preferredheight = preferredheight;
	}
	
	public int getPreferredrefreshrate() {
		return preferredrefreshrate;
	}
	
	public void setPreferredrefreshrate(int preferredrefreshrate) {
		this.preferredrefreshrate = preferredrefreshrate;
	}
	
	public boolean isPreferFullscreen() {
		return preferFullscreen;
	}
	
	public void setPreferFullscreen(boolean preferFullscreen) {
		this.preferFullscreen = preferFullscreen;
	}
}
